<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>溢出属性</title>
		<style>
			/* 溢出产生：子元素大于父元素【宽与高】 */
			div{
				width: 400px;
				height: 100px;
				border:1px solid red;
				/* 溢出：找到父元素 ，加溢出处理属性:方案属性值：
				                        hidden  溢出隐藏
										scroll  溢出滚动  【溢出滚动条:父元素宽高小于子元素：XY】
										visible 默认：正常显示
										auto    自动切换以上的状态
				*/
				over flow:hidden;
				over flow: scroll;/* X Y两个方向 */
				overf low: visible;
				over flow: auto;
				/* overflow-x  overflow-y 功能：去掉某侧的滚动条*/
				overflow: scroll;
				overflow-y: hidden;
			}
			p{
				width: 800px;
				
			}
		</style>
	</head>
	<body>
		<!-- 外层：div 理解：水杯 -->
		<div>
			<!-- 内层：p 理解：水 -->
			<p>
				<img src="./img/p_small_001.jpg" alt="1" >
				<img src="./img/p_small_002.jpg" alt="2">
				<img src="./img/p_small_003.jpg" alt="3">
				<img src="./img/p_small_004.jpg" alt="4">
				<img src="./img/p_small_005.jpg" alt="5">
				<img src="./img/p_small_006.jpg" alt="6">
				<img src="./img/p_small_007.jpg" alt="7">
			</p>
		</div>
	</body>
</html>